package com.neuedu.spring;

import org.springframework.stereotype.Component;

@Component //告诉容器扫描的时候，此类是一个Bean
public class UserDao {
    public void save(){
        System.out.println("UserDao.save");
    }
}
